package org.jeecg.modules.flow.record.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.flow.record.entity.WmsFlowRecord;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 流程状态信息
 * @Author: jeecg-boot
 * @Date:   2023-09-21
 * @Version: V1.0
 */
@Data
@ApiModel(value="wms_flow_mainPage对象", description="流程状态信息")
public class WmsFlowMainPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**当前状态 0 未完成 1 进行中 2完成*/
	@Excel(name = "当前状态 0 未完成 1 进行中 2完成", width = 15)
	@ApiModelProperty(value = "当前状态 0 未完成 1 进行中 2完成")
    private Integer currentStatus;
	/**当前步骤*/
	@Excel(name = "当前步骤", width = 15)
	@ApiModelProperty(value = "当前步骤")
    private String currentStep;
	/**当前步骤名称*/
	@Excel(name = "当前步骤名称", width = 15)
	@ApiModelProperty(value = "当前步骤名称")
    private String currentStepName;
	/**业务表记录信息id*/
	@Excel(name = "业务表记录信息id", width = 15)
	@ApiModelProperty(value = "业务表记录信息id")
    private String infoId;
	/**打印主键id*/
	@Excel(name = "打印主键id", width = 15)
	@ApiModelProperty(value = "打印主键id")
    private String printId;

	@ExcelCollection(name="业务流程记录信息")
	@ApiModelProperty(value = "业务流程记录信息")
	private List<WmsFlowRecord> wmsFlowRecordList;

}
